package com.crpc.core.transport.message;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wzy
 * @version 1.0
 * @description: 服务调用方发起请求的内容
 * @date 2023/9/26 14:12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CrpcRequest {
    //请求的Id
    private long requestId;
    //请求的类型
    private byte requestType;
    //序列化的方式
    private byte serializeType;
    //压缩的类型
    private byte compressType;
    //响应时间戳
    private long timeStamp;
    //具体的消息体
    private RequestPayLoad requestPayLoad;
}
